<template>
     <div class="div1">
       <el-form :model="form" ref="submitForm" label-width="auto" :rules="rules">

           <el-form-item label="标题：" prop="title">
               <el-input v-model="form.biao1ti2" placeholder="请输入标题" />
           </el-form-item>


           <el-form-item label="内容：" prop="content1">
               <el-input v-model="form.nei4rong2" type="textarea" :rows="4" placeholder="请输入内容" />
           </el-form-item>

            </el-form>
        <div class="buttons1"><el-button type="primary" class="buttons1_button1" @click="submit()">确定</el-button></div>
    </div>



</template>
<script>
    
export default {
    data() {
        return {
            dialogShow: true,
            id: '',
            loading: false,
            form: {}, content: '',
            classificationL: [],
            param: {},
            uploadUrl: `/api/system/upload/uploadList`,
        }
    },

    created() {
    },

    mounted() {
    },

    components: {
    },

    methods: {
        clickOff(){
           this.$parent.dialogShow228 = false;
           this.dialogShow = false;
        },



        submit() {
            console.log(this.form, 'this.form=============')
            let that = this;
            that.$parent.dialogShow = false
            that.$refs['submitForm'].validate((val) => {
                if (val) {
                    let form = JSON.parse(JSON.stringify(that.form))
                      that.$message.success(res.message);
                      this.$parent.dialogShow1 = false;
                }
            })
        },



    }

}


</script>
<style lang="scss" scoped>

.div1{
    background-color: #fff;
    padding: 25px;
    box-sizing: border-box;
}
.buttons1{
    width: 100%;
    display: flex;
    justify-content: center;
    .buttons1_button1{
        width: 200px;
        height: 50px;
    }
}
.dialog1_title1 {
    display: inline-block;
    font-size: 12px;
    color: #9e9e9e;
    width: 100%;
}

.dialog1_prompt1 {
    display: inline-block;
    color: #9e9e9e;
    line-height: 20px;
    padding-top: 10px;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.dialog1_prompt2 {
    display: inline-block;
    color: #9e9e9e;
    line-height: 20px;
    padding-top: 10px;
    font-size: 12px;
    text-align: left;
    width: 100%;
}

.dialog1_video1 {
    width: 500px;
}

.dialog1_img1 {
    width: 300px;
}

.dialog1_img2 {
    width: 100px;
    height: 100px;
    margin-right: 20px;
}

</style>